//
//  LGAccount.h
//  微博
//
//  Created by MS on 15-12-6.
//  Copyright (c) 2015年 MS. All rights reserved.
//

#import <Foundation/Foundation.h>
/*
 {
 "access_token" = "2.00CnYaJCzQBWZB1e189662bbOczERD";
 "expires_in" = 157679999;
 "remind_in" = 157679999; //废弃
 uid = 1973966232;
 }
*/
@interface LGAccount : NSObject<NSCoding>
/**
 *  获取数据的访问命令牌
 */
@property (nonatomic,copy) NSString * access_token;
/**
 *  账号的有效期
 */
@property (nonatomic,copy) NSString * expires_in;
/**
 *  账号的有效期
 */
@property (nonatomic,copy) NSString * remind_in;
/**
 *  唯一的用户标示
 */
@property (nonatomic,copy) NSString * uid;

/**
 *  过期时间（自己加）
 */
@property (nonatomic,strong) NSDate * expires_date;
/**
 *  用户名称
 */
@property (nonatomic,copy) NSString * name;

+(instancetype) accountWithDic:(NSDictionary *)dic;


@end
